package com.atguigu.gulimall.zzmycanal.config;

import com.alibaba.otter.canal.protocol.CanalEntry;
import com.xpand.starter.canal.annotation.CanalEventListener;
import com.xpand.starter.canal.annotation.ListenPoint;
@CanalEventListener
public class WmsListening {

    @ListenPoint(schema = "gulimall_oms", table = {"wms_purchase"})
    public void wms_purchase(CanalEntry.RowData rowData) {
        System.err.println("wms_purchase");
        ShowObj.showData(rowData);
    }

    @ListenPoint(schema = "gulimall_oms", table = {"wms_purchase_detail"})
    public void wms_purchase_detail(CanalEntry.RowData rowData) {
        System.err.println("wms_purchase_detail");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_oms", table = {"wms_ware_info"})
    public void wms_ware_info(CanalEntry.RowData rowData) {
        System.err.println("wms_ware_info");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_oms", table = {"wms_ware_order_task"})
    public void wms_ware_order_task(CanalEntry.RowData rowData) {
        System.err.println("wms_ware_order_task");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_oms", table = {"wms_ware_order_task_detail"})
    public void wms_ware_order_task_detail(CanalEntry.RowData rowData) {
        System.err.println("wms_ware_order_task_detail");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_oms", table = {"wms_ware_sku"})
    public void wms_ware_sku(CanalEntry.RowData rowData) {
        System.err.println("wms_ware_sku");
        ShowObj.showData(rowData);
    }

}
